import { ROOT_URL_Template } from '@/utils/config'

export const formTemplates = [
  {
    title: '单列表单',
    imgUrl: '/t1.png',
    jsonUrl: '/json1.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '多列表单',
    imgUrl: '/t2.png',
    jsonUrl: '/json2.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '分组表单',
    imgUrl: '/t3.png',
    jsonUrl: '/json3.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '标签页表单',
    imgUrl: '/t4.png',
    jsonUrl: '/json4.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '主从表单',
    imgUrl: '/t5.png',
    jsonUrl: '/json5.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '响应式表单',
    imgUrl: '/t6.png',
    jsonUrl: '/json6.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '问卷调查表',
    imgUrl: '/t7.png',
    jsonUrl: '/json7.txt',
    description: '表单模板详细说明...'
  },

  {
    title: '固定表格表单',
    imgUrl: '/t8.png',
    jsonUrl: '/json8.txt',
    description: '表单模板详细说明...'
  }
].map((item) => {
  return {
    ...item,
    imgUrl: ROOT_URL_Template + item.imgUrl,
    jsonUrl: ROOT_URL_Template + item.jsonUrl
  }
})
